package com.example.payment.mapper;

import com.example.model.payment.Payment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PaymentMapper {

    Payment get(Long id);

    List<Payment> list(Payment payment);

    int insert(Payment payment);

    int update(String tradeNo);




}
